
<?php
	header("Content-type:text/html;charset=utf-8");
	// require 'ConnDB.php';
	// require 'config.php';
	require_once(dirname(__FILE__).'/'."../../basic/Model.php");
	class IndexModel extends Model{
		//private $conn;

		function __construct(){
			parent::__construct();
		}
		
		function getstaff(){
			$sql='select * from employees';
			$data=$this->conn->query($sql);
			return $data;
		}
	}
?>